<template>
	<view class="examine">
		<titleName :name="name" :back-show="true" />
		<image :src="resourceUrl+'zhengai-top-bgc.png'" class="img" mode=""></image>
		<view class="content-wrap">
			<view class="left" @click="jumpControlExamine(1)">
				<image :src="resourceUrl+'guankongzhixingshenpi.png'" mode=""></image>
				<text>管控执行审批</text>
			</view>
			<view class="line"></view>
			<view class="right" @click="jumpControlExamine(2)">
				<image :src="resourceUrl+'guankongzhixingshenpi.png'" mode=""></image>
				<text>整改执行审批</text>
			</view>
		</view>
	</view>
</template>

<script setup>
	import titleName from '../../components/titleName.vue'
	import uploadFile from '../../request/uploadFile.js'
	import http from '../../request/index.js'
	import {
		resourceUrl
	} from '../../request/config'
	import {
		onShow,
		onLoad
	} from '@dcloudio/uni-app'
	import {
		ref
	} from 'vue'
	let name = ref('审批')
	let usertype = ref('')
	let jumpControlExamine = (id) => {
		uni.navigateTo({
			url: `/minePageOther/controlexamine/index?id=${id}`
		})
	}
	
	onShow(() => {

		usertype.value = uni.getStorageSync('usertype')

	})
</script>

<style lang="scss" scoped>
	.examine {
		width: 100vw;
		height: 100vh;
		background: #F3F5F7;

		.img {
			width: 100vw;
			height: 266upx;
		}

		.content-wrap {
			width: 676rpx;
			height: 306rpx;
			background: #FFFFFF;
			border-radius: 14rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 112upx;
			position: fixed;
			left: 50%;
			transform: translateX(-50%);
			top: 222upx;

			.left,
			.right {
				display: flex;
				flex-direction: column;
				align-items: center;

				image {
					width: 68rpx;
					height: 78rpx;
				}

				text {

					font-family: Source Han Sans CN;
					font-weight: 500;
					font-size: 24rpx;
					color: #030303;
					margin-top: 20upx;

				}
			}

			.line {
				width: 3rpx;
				height: 90rpx;
				background: #EDEDED;
			}

		}


	}
</style>